<template>
  <div>
    <h1>这是插槽第二题</h1>

    <slot name="arr" :arr="arr"></slot>
  </div>
</template>

<script>
export default {
  name: "CaoTow",
  data() {
    return {
      arr: [
        {
          price: 1000,
          name: "山茶花",
        },
        {
          price: 100000,
          name: "牡丹花",
        },
        {
          price: 7580,
          name: "月季花",
        },
      ],
    };
  },
  mounted() {},
  methods: {},
};
</script>
<style lang='less' scoped>
</style>